package com.ict.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ict.web.domain.PerformanceRule;
import com.ict.web.dto.InsertPerformanceRuleDto;

import java.util.List;

/**
 * 绩效规则 Service接口
 *
 * @author ruoyi
 * @date 2022-02-15
 */
public interface IPerformanceRuleService extends IService<PerformanceRule>
{
    /**
     * 查询指标规则列表
     * @return
     */
    public List<PerformanceRule> selectPerformanceRuleList();
    /**
     * 新增指标规则
     * @param indicatorsId
     * @param addDtoS
     */
    public void insertPerformanceRule(Long indicatorsId,List<InsertPerformanceRuleDto> addDtoS);

    /**
     * 逻辑删除
     * @param ruleId
     * @return
     */
    public int deletePerformanceRuleById(Long ruleId);
}
